package com.dormitory.javadormitory.entity;

public class Bunkhouse {
    private int id;
    private String bunkhouseName;
    private String issue;

    public Bunkhouse() {
    }

    public Bunkhouse(int id, String bunkhouseName, String issue) {
        this.id = id;
        this.bunkhouseName = bunkhouseName;
        this.issue = issue;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBunkhouseName() {
        return bunkhouseName;
    }

    public void setBunkhouseName(String bunkhouseName) {
        this.bunkhouseName = bunkhouseName;
    }

    public String getIssue() {
        return issue;
    }

    public void setIssue(String issue) {
        this.issue = issue;
    }

    @Override
    public String toString() {
        return "Bunkhouse{" +
                "id=" + id +
                ", bunkhouseName='" + bunkhouseName + '\'' +
                ", issue='" + issue + '\'' +
                '}';
    }
}